<!-- $Id: page.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{insert_scripts files="../js/utils.js"}
<div id="turn-page">
    <span class="page page_1">{$lang.total_records}<em id="totalRecords">{$record_count}</em>{$lang.total_pages}</span>
    <span class="page page_2">{$lang.page_feiwei}<em id="totalPages">{$page_count}</em>{$lang.page_ye}</span>
    <!--<span>{$lang.page_current}<em id="pageCurrent">{$filter.page}</em></span>-->
    <span class="page page_3"><i>{$lang.page_size}</i><input type='text' size='3' id='pageSize' value="{$filter.page_size}" onkeypress="return listTable.changePageSize(event)" /></span>
    <span id="page-link">
        {literal}<a href="javascript:listTable.gotoPageFirst()" class="first" title="{$lang.page_first}">{/literal}</a>
        {literal}<a href="javascript:listTable.gotoPagePrev()" class="prev" title="{$lang.page_prev}">{/literal}</a>
        <select id="gotoPage" onchange="listTable.gotoPage(this.value)">
            {create_pages count=$page_count page=$filter.page}
        </select>
        {literal}<a href="javascript:listTable.gotoPageNext()" class="next" title="{$lang.page_next}">{/literal}</a>
        {literal}<a href="javascript:listTable.gotoPageLast()" class="last" title="{$lang.page_last}">{/literal}</a>
    </span>
</div>

